<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <link rel="stylesheet" href="../plugins/elementui/index.css">

    <script src="../js/vue.js"></script>

    <script src="../plugins/elementui/index.js"></script>
</head>
<body>

<div id="app">
    <template>
        <!--<el-tabs v-model="activeName" @tab-click="handleClick">-->
        <el-tabs value="third" @tab-click="handleClick">
            <el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>
            <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
            <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
            <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
        </el-tabs>
    </template>
</div>
<script>

    new Vue({
        el:"#app",

        data:{
            activeName: 'first'
        },
        methods: {
            handleClick(tab, event) {
                alert(tab.name+"==========="+ event);
            }
        }


    })

</script>
</body>
</html>